import service from '/@/utils/request';

export const userApi = {
    listUser: (query?: AdminUserQueryDto) => {
        return service.get<PageResult<AdminUserVo>, AdminUserQueryDto>('/admin/user', {
            params: query
        });
    },
    info: () => {
        return service.get<AdminUserVo>('/admin/user/info');
    },
}